#pragma once
#include "yzrutil.h"
#include "SoundbankResource.h"
namespace yzrilyzr_soundbank{
	class Soundbank;
	ECLASS(Instrument, public SoundbankResource){
		public:
		int32_t preset=0;
		int32_t bank=0;
		public:
		Instrument(Soundbank * soundbank, const yzrilyzr_lang::String & name);
		public:
		int32_t getPreset(){
			return preset;
		}
		int32_t getBank(){
			return bank;
		}
		void setPreset(int32_t preset){
			this->preset=preset;
		}
		void setBank(int32_t bank){
			this->bank=bank;
		}
	};
}